package com.example.human_resource_management.service;

import com.example.human_resource_management.entry.po.Training;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【training(培训表)】的数据库操作Service
* @createDate 2025-06-09 14:39:54
*/
public interface TrainingService extends IService<Training> {



    List<Training> selectTrainingList();


    // 新增培训
    boolean addTraining(Training training);

    // 修改培训
    boolean updateTraining(Training training);

    // 删除培训
    boolean deleteTraining(Long trainId);
}
